using UnityEngine;
using System.Collections;
using System.Collections.Generic;

/// <summary>
/// Path map used for an entire scene. Player would running with 
/// paths in path map and navigate to different paths as running
/// through pre-defined manner or navigation mechanism, such as
/// finger gestures, arrow keys etc.
/// </summary>
public class PathMap
{
	public PathMap ()
	{
		m_paths = new List<PathPair> ();
		m_pathJoints = new List<PathJoint> ();
	}
	
	public void AddPath (PathPair pathPair)
	{
		m_paths.Add (pathPair);
	}
	
	public void RemovePath (PathPair pathPair)
	{
		// TODO remove pathpair and update it's related pathjoint
	}
	
	public void AddPathJoint (PathJoint pathJoint)
	{
		m_pathJoints.Add (pathJoint);
	}
	
	public void RemovePathJoint (PathJoint pathJoint)
	{
		// TODO remove pathjoint
	}
	
	public List<PathPair> paths
	{
		get { return m_paths; }
	}
	
	public List<PathJoint> pathJoints
	{
		get { return m_pathJoints; }
	}
	
	List<PathPair> m_paths;
	List<PathJoint> m_pathJoints;
}
